#{extends 'frame.html' /} #{set title:'正在打印的订单' /} #{set 'moreStyles'}
<link rel="stylesheet" media="screen"
	href="@{'/public/stylesheets/admin/audit-task.css'}" />
<link rel="stylesheet" media="screen"
	href="@{'/public/stylesheets/jquery.pagination.css'}" />
#{/set} #{authenticityToken /}
<div class="tabbedCard" id="waitingTaskPanel">
	<div class="contentTitle">
		<span class="iconfont">&#xf00bf;</span> <span class="dingdan"><a
			href="javascript:;" id="waitUpload">正在打印的订单</a></span>
	</div>
	<div id="taskFilterPanel">
		<form id="printingForm" method="post">
			<div class="floatLeft">
				<span class="floatLeft mr10">起始订单号:</span> <input type="text"
					id="expressNo" name="vo.expressNo" maxlength="15"
					class="inputText floatLeft required mr10" />
			</div>
			#{authenticityToken /}
			<div class="floatLeft mr10">
				<span class="floatLeft ml20">打印数量:</span> <input type="text"
					style="width: 50px" name="vo.exportNo" id="printNum"
					class="inputText floatLeft required mr10" />
			</div>
			<a class="stdColorButton floatLeft queryBtn mr10" href="javascript:;"
				id="orderBtnOK">生成快递单号</a> <a
				class="stdColorButton floatLeft queryBtn mr10" href="javascript:;"
				id="printOrderBtn">打印</a> <a
				class="stdColorButton floatLeft queryBtn" href="javascript:;"
				id="reviewBtn">确认打印完毕</a>

		</form>
	</div>
	<div class="contentBody">
		<table class="normTable">
			<thead>
				<tr>
					<td>任务编号</td>
					<td>订单号</td>
					<td>收货人</td>
					<td>收货地址</td>
					<td>收货人电话</td>
					<td>店铺旺旺ID</td>
					<td>运单号</td>
					<td>操作</td>
				</tr>
			</thead>
			<tbody id="orderContainer"></tbody>
		</table>
		<div id="noMsg">
			<div class="warnBox">
				<span class="iconfont">&#xf00b6;</span>没有订单号!
			</div>
		</div>
		<div class="pagin-btm clearFix" style="display: none;">
			<div class="pagination"></div>
		</div>
		<div class="popWrapper" style="display: none;" id="tr_loading_mask">
			<div class="maskLayer"></div>
			<img class="tr_juhua" src="@{'/public/images/pre_loading.gif'}" />
		</div>
	</div>
</div>
<textarea id="orderTemp" class="muban">
{{#results}}
	<tr>
		<td>{{number}}</td>
		<td>{{orderId}}</td>
		<td>{{consignee}}</td>
		<td>{{fullAddress}}</td>
		<td>{{mobile}}</td>
		<td>{{tbSellerNick}}</td>
		<td>待处理</td>
		<td>
		{{#isWaitImport}}
		<a class="stdColorButton btnResetStatus" href="javascript:;"
			data-id="{{id}}">重置状态</a>
		{{/isWaitImport}}
		</td>
	</tr>
{{/results}}
</textarea>
<!-- templates -->
#{authenticityToken /} #{set 'moreScripts'}
<object id="LODOP" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA"
	width=0 height=0></object>
<script src="@{'/public/javascripts/mustache.min.js'}"
	type="text/javascript"></script>
<script src="@{'/public/javascripts/jquery.pagination.js'}"
	type="text/javascript"></script>
<script src="@{'/public/javascripts/jquery.number.min.js'}"
	type="text/javascript"></script>
<script src="@{'/public/javascripts/expressprint/expressPrinting.js'}"
	type="text/javascript"></script>
<script src="@{'/public/javascripts/expressprint/lodop/CheckActivX.js'}"
	type="text/javascript"></script>
<script language="javascript">
	CheckLodop();
</script>
<script type="text/javascript">
	App.module = 'printingOrders';
</script>

#{/set}
